module Bullet {
	/**
	 * 炮台发射的子弹 ---刘伟 
	 * */
	export class BulletBattery extends BasicBullet {

		/**每帧监听 */
		public update(deltaTimeStamp) {
            super.update(deltaTimeStamp);
			if(this.bullet.x<0 || this.bullet.x>640)
			{
				this.overLine();
			}
        }
		
		/**飞行轨迹 */
		public bulletMove(deltaTimeStamp: number) {
            this.bullet.y-=Math.cos(this.Angle)*this.bulletSpeed;
			this.bullet.x+=Math.sin(this.Angle)*this.bulletSpeed;	
        }
		
	}
}